home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 18 / CU Amiga Magazine's Super CD-ROM 18 (1997)(EMAP Images)(GB)[!][issue 1998-01].iso / CUCD / Programming / ModemLink / Source / ModemTags.c < prev    next >
C/C++ Source or Header  |  1997-10-24  |  1KB  |  39 lines

  1. /*
  2. ** NAME: ModemDevTags.c
  3. ** DESC: Contains the ...Tags() version of the Modem related commands.  All
  4. **       these do is call the corresponding routines in modemlink.LIB.
  5. **       Make sure to not link with this if using the modemlink.device.
  6. **
  7. ** AUTHOR:        DATE:       DESCRIPTION:
  8. ** ~~~~~~~~~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  9. ** Mike Veroukis  13 Mar 1997 Created
  10. */
  11.  
  12.  
  13. #include <devices/serial.h>
  14. #include <utility/tagitem.h>
  15.  
  16. #include "ModemTags.h"
  17. #include "Modem.h"
  18.  
  19. ULONG ML_SendModemCMDTags(struct IOExtSer *SerIO, char *CMD, ULONG data, ...)
  20. {
  21.   struct TagItem *tags = (struct TagItem *)&data;
  22.  
  23.   return (ML_SendModemCMDTagList(SerIO, CMD, tags));
  24. }
  25.  
  26. ULONG ML_DialTags(struct IOExtSer *SerIO, char *PhoneNum, ULONG data, ...)
  27. {
  28.   struct TagItem *tags = (struct TagItem *)&data;
  29.  
  30.   return (ML_DialTagList(SerIO, PhoneNum, tags));
  31. }
  32.  
  33. ULONG ML_AnswerTags(struct IOExtSer *SerIO, ULONG data, ...)
  34. {
  35.   struct TagItem *tags = (struct TagItem *)&data;
  36.  
  37.   return (ML_AnswerTagList(SerIO, tags));
  38. }
  39.